
from django.urls import path, re_path

from contents.views import IndexView
#设置应用程序命名空间
from payment import views

app_name = 'payment'
urlpatterns=[
    #路由:    http://127.0.0.1:8000 名称空间:==contents:index
    # 支付
    re_path('payment/(?P<order_id>\d+)/', views.PaymentView.as_view()),
    # 保存订单
    path('payment/status/', views.PaymentStatusView.as_view()),
    # 评价
    path('orders/comment/', views.OrderCommentView.as_view()),
]